package com.molichuxing.services.infrastructure.service;

import java.time.LocalDateTime;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.CreditRecognitionCreateDto;
import com.molichuxing.services.infrastructure.dto.response.CreditRecognitionDto;

/**
 * 
 * @author liyg
 * 征信验证服务
 * 2019-09-26
 * 
 */
public interface CreditRecognitionService extends RootService {

	/**
	 * 获取验证结果
	 * @param userId
	 * @param verifyTime
	 * @return
	 */
	Boolean getVerifyResult(Integer userId,LocalDateTime verifyTime);
	
	/**
	 * 保存
	 * @param createDto
	 * @return
	 */
	Boolean create(CreditRecognitionCreateDto createDto);
	
	/**
	 * 获取最近征信验证信息
	 * @param userId
	 * @return
	 */
	CreditRecognitionDto getVerifyResult(Integer userId);
	
}
